This is one of the situations, where can-focus can still
be used to tweak focus behavior of leaf widgets. Color
swatches are focusable by default to allow selecting colors
with the keyboard. But when used as color samples, they
should not take focus.
<property name="rgba">rgb(255,255,255)</property>
<property name="selectable">False</property>
<property name="has-menu">False</property>
+ <property name="can-focus">False</property>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">0</property>